package com.csot.ry.mapper;

import java.util.List;
import com.csot.ry.domain.TCoarseIp;

/**
 * 粗粒度ip明细Mapper接口
 * 
 * @author 刘沙
 * @date 2022-05-31
 */
public interface TCoarseIpMapper 
{
    /**
     * 查询粗粒度ip明细
     * 
     * @param id 粗粒度ip明细主键
     * @return 粗粒度ip明细
     */
    public TCoarseIp selectTCoarseIpById(Long id);

    /**
     * 查询粗粒度ip明细列表
     * 
     * @param tCoarseIp 粗粒度ip明细
     * @return 粗粒度ip明细集合
     */
    public List<TCoarseIp> selectTCoarseIpList(TCoarseIp tCoarseIp);

    /**
     * 新增粗粒度ip明细
     * 
     * @param tCoarseIp 粗粒度ip明细
     * @return 结果
     */
    public int insertTCoarseIp(TCoarseIp tCoarseIp);

    /**
     * 修改粗粒度ip明细
     * 
     * @param tCoarseIp 粗粒度ip明细
     * @return 结果
     */
    public int updateTCoarseIp(TCoarseIp tCoarseIp);

    /**
     * 删除粗粒度ip明细
     * 
     * @param id 粗粒度ip明细主键
     * @return 结果
     */
    public int deleteTCoarseIpById(Long id);

    /**
     * 批量删除粗粒度ip明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTCoarseIpByIds(Long[] ids);
}
